package cn.iocoder.yudao.module.system.controller.admin.authrecorddatascopevalue.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.util.*;

@Schema(description = "管理后台 - 授权记录和权限范围值关系新增/修改 Request VO")
@Data
public class AuthRecordDataScopeValueSaveReqVO {

    @Schema(description = "菜单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11248")
    private Long id;

    @Schema(description = "显示顺序", requiredMode = Schema.RequiredMode.REQUIRED, example = "3610")
    @NotNull(message = "显示顺序不能为空")
    private Long userRoleId;

    @Schema(description = "数据范围值id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27286")
    @NotNull(message = "数据范围值id不能为空")
    private Long dataScopeValueId;

}